Skip to content

Conversation

@mohanelamurugan
Copy link
Contributor

@mohanelamurugan mohanelamurugan commented Apr 15, 2020

Description

MCLOUD-5818 :
This fixes composer running out of memory when installing multiple packages through cloud docker

Fixed Issues (if relevant)

  1. MCLOUD-5818: Composer runs out of memory in container #191: Composer runs out of memory in container

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages

@shiftedreality shiftedreality self-assigned this Apr 16, 2020
@shiftedreality shiftedreality added the Progress: review PR/issue status label Apr 16, 2020
Copy link
Contributor

@michaelcasey316 michaelcasey316 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @shiftedreality. Having this adjustable in docker-compose.yml or the Dockerfile would be ideal.

@aepod
Copy link
Contributor

aepod commented Apr 16, 2020 via email

@mohanelamurugan
Copy link
Contributor Author

@shiftedreality Requested changes are implemented.

@mveeramneni mveeramneni changed the title Fix for composer running out of memory in container MCLOUD-5818: Fix for composer running out of memory in container Apr 21, 2020
@YPyltiai YPyltiai added the community PR/issue origin label Apr 22, 2020
@shiftedreality shiftedreality self-assigned this Apr 23, 2020
@mohanelamurugan
Copy link
Contributor Author

@shiftedreality Now only the composer memory limit is set as environment variable without any ini file changes.

@shiftedreality shiftedreality removed the Progress: review PR/issue status label Apr 27, 2020
@andriyShevtsov
Copy link
Contributor

@shiftedreality Maybe make sense to merge this PR first #198 and update current PR? Otherwise we should create task task to update COMPOSER_MEMORY_LIMIT -1 for php 7.4 or fix memory limit in PR with php 7.4 image.

@andriyShevtsov
Copy link
Contributor

Approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants